﻿/**************************************************************
 * Project     : Titan Framework
 * Copyright (C) 2011 Microsoft Corp.
 * Author      : Julian Hu
 * Mail        : junhu@microsoft.com
 * Create Date : 2011-05-10
 * Summary     :   
 * 
 * 
 * Modified By : 
 * Date        : 
 * Mail        : 
 * Comment     :   
 * *************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using Titan.Logging.Log4netImpl;

namespace Titan.Logging
{
    /// <summary>
    /// 继承ILoggerFactory,自定义Log的处理
    /// </summary>
    public class LoggerFactory : LoggerAdapter
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        protected override ILogger CreateLogger(Type type)
        {
            return new Log4netLogger(type);
        }
    }
}
